#pragma once
#include "SocketServer.h"
#include "ReceiverListener.h"
#include "protocol.h"
#include "base64.h"
#include "DefineConst.h"

class FileServer : public ReceiverListener
{
public:
  FileServer(void);
  ~FileServer(void);

  int
  start();
  void
  receive(string &protocol);
  void
  executeCommand();

private:
  SocketServer* m_sockServer;
  Command * cmd;

};
